cmake_minimum_required(VERSION 3.16)
project(SpiderSolitaire)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 17)

find_package(Qt6 COMPONENTS Widgets REQUIRED)

add_executable(${PROJECT_NAME}
    main.cpp
    gamewindow.cpp
    card.cpp
    cardstack.cpp
    gamewindow.h
    card.h
    cardstack.h
)

target_link_libraries(${PROJECT_NAME} PRIVATE
    Qt6::Widgets
)
add_subdirectory(SpiderSolitaireQt)
